package com.cupk.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Match {
    private Integer id;
    private String name;
    private Integer session;
    private Integer user;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    private String description;
    private Integer status;

    // 虚拟字段
    private String username;
    private Integer countStart;
    private Integer countEnd;
}
